import request from "@/utils/request";

export const getStatistics1 = () => {
    return request({
        url: "/statistics1",
        method: "get",
        data: {},
    });
};

// 获取图表数据 admin/statistics3?type=hour

export const getChartData = (data: string) => {
    return request({
        url: `/statistics3?type=${data}`,
        method: "get",
    });
};

// 订单提醒
export const getCardList = () => {
    return request({
        url: 'statistics2',
        method: "get",
    });
};
